﻿@charset "utf-8";
html {
}
.phone-wrap {
    margin: auto;
    width: 381px;
    border:1px solid #ccc;
    height: 550px;
    overflow: hidden;
    position: relative;
}
.phone-header{
    width: 381px;
    height:59px;
    overflow: hidden;
    margin: auto;
    background: url(../../images/design/header.png) no-repeat;
    .phone-header-title{
        color:#fff;
        font-size:16px;
        height:30px;
        text-align: center;
        margin-top: 25px;
    }
}

.phone-container {
    width: 378px;
    margin-left: 1px;
    text-align: left;
    box-sizing: content-box;
    height:440px;
    overflow-y: scroll;
    border-radius: 5px;
    padding-bottom: 40px;
    border-bottom:1px solid #ccc;
}

.left_panel, .cell_panel, .config_panel {
    height: 100%;
}
.cell_panel{
    overflow:hidden;padding:0;
}
.left_panel {
    height: 100%;
    position: static;
}
@media (max-width:1060px) {
    .cell_panel{
        width:381px!important;
    }
    .left_panel {
        width:280px!important;
    }
    .config_panel {
        position: static!important;
        width:auto!important;
        float:none!important;
        padding:0!important;
        margin-left:661px!important;
    }
    .min-screen{
        margin-left:10px;
        margin-right:10px;
    }
 
}
.config_panel {
    .tips {
        width: 100%;
        color: #a4a9ae;
        text-align: center;
        margin: 100px 0px;
    }

    .form-group {
        clear: both;

        .control-label {
            color: #979797;
            font-size: 13px;
            font-weight: bold;
            display: block;
            margin: 10px 0px;

            i {
                display: block;
                margin-top: 15px;
                margin-bottom: 15px;
                border-top: 1px solid #eee;
            }
        }
    }

    .blockitem {
        padding: 10px;
        cursor: move;
        border: 1px solid #fefefe;
        margin-bottom: 10px;
        float: left;
        width: 100%;
        position: relative;
        .input-group-addon{
            cursor: pointer;
        }
    }
    .b-eb{
        border: 1px solid #ebebeb;
        webkit-border-radius: 3px;
        border-radius: 3px;
    }

        .blockitem:hover {
            border: 1px dashed #3498db !important;

            .list-item-del {
                display: block;
            }
        }

    .noneitem {
        padding: 10px;
    }

    hr {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.list-item, .list-page {
    border: 1px solid transparent;
    cursor: move;
    position: relative;
}
.list-item .phone-pre-title{
    position: absolute;
    color:#3498db;
    width:100%;
    background:#fff;
    line-height: 20px;
    padding:5px;
    display: none;
    opacity: 0.85;
}
.list-item .phone-pre-title-btns{
    position: absolute;
    color:#3498db;
    width:100%;
    padding:5px;
    display: none;
}
.list-item.active{
    border: 1px dashed blue;
    overflow-y: hidden;
}

.list-item:hover {
    border: 1px dashed #3498db;

    .list-item-del, .list-item-ed, .item-layer,.phone-pre-title,.phone-pre-title-btns{
        display: block;
    }
}

.js_nosortable{
    border:none;
    cursor: default;
    text-align: center;
}
.place-holder{
    font-size:18px;
    line-height: 150px;
    background:#a9a9a9;
    color:#fff;
}
.tips_holder{
    background:#fff;
    border:1px dashed #ddd;
    font-size:16px;
    color:#999;
    .list-item-body{
        overflow: hidden;
        height:120px;
    }
    .list-item-cover{
        overflow: hidden;
        height:120px;
    }
}
.bottom_tips_holder{
    .list-item-body{
        height:140px;
    }
    .list-item-cover{
        height:140px;
    }
}
.tips_holder_goods{
    font-size:14px;
}
.list-item.js_nosortable:hover{
    border:none;
}
.list-item.tips_holder:hover{
    border:1px dashed #ddd;
}
.item-layer {
    position: absolute;
    display: none;
    width: 320px;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0.2;
    z-index: 1;
}

.list-item iframe, .list-page iframe {
    border: 0 none !important;
    width: 100%;
}

.list-item-cover, .list-page-cover {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.place_holder {
    padding: 0;
    min-height: 50px;
    background: #FFE7CF;
    border: 1px dashed #FF0000;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.place_holder:after{
    content: "放这里";
    width:100%;
    display: block;
    font-size:16px;
    text-align: center;
    line-height: 50px;
    color:red;
}

.widget {
    z-index: 999;
    float: left;
    margin: 5px;
    margin-bottom: 20px;
    height: 56px;
    width: 95px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    cursor: move;
    p {
        text-align: center;
        margin-top: 55px;
        overflow: hidden;
        width: 95px;
        height: 20px;
        line-height: 20px;
    }
}

    .widget.widget-slider {
        background: url("../../images/design/widget/slider.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-fn {
        background: url("../../images/design/widget/fn.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-goods {
        background: url("../../images/design/widget/goods.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-title {
        background: url("../../images/design/widget/title.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-line {
        background: url("../../images/design/widget/line.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-search {
        background: url("../../images/design/widget/search.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-text {
        background: url("../../images/design/widget/font.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-classify {
        background: url("../../images/design/widget/classify.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-topic {
        background: url("../../images/design/widget/topic.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-pic1 {
        background: url("../../images/design/widget/pic1.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .widget.widget-pic2 {
        background: url("../../images/design/widget/images2.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-space{
        background: url("../../images/design/widget/space.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-floatmenu{
        background: url("../../images/design/widget/floatmenu.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-coupon{
        background: url("../../images/design/widget/coupon.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-packet{
        background: url("../../images/design/widget/packet.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-postage{
        background: url("../../images/design/widget/postage.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-givepacket{
        background: url("../../images/design/widget/givepacket.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
   
    .widget.widget-storenav{
        background: url("../../images/design/widget/storenav.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.widget-header{
        background: url("../../images/design/widget/header.png");
        background-size: 80px 57px;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .widget.ui-draggable-dragging{
      border: 1px dashed #3498db;
    }
.list-item-del {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    font-size: 15px;

    i {
        color: #3498db;
    }
}

.list-item-ed {
    display: none;
    position: absolute;
    top: 5px;
    right: 15px;
    z-index: 2;
    font-size: 15px;

    i {
        color: #3498db;
    }
}

.thumb-select {
    max-width: 112px;
    max-height: 90px;
    height: 58px;
    cursor: pointer;
    border: 1px solid #ccc;
    position: relative;
    padding: 0 2px;
}

    .thumb-select.selected {
        border: none;

        img {
            max-height: 68px;
            max-width: 100%;
        }
    }

.thumb-default-img {
    margin: 0 auto;
    position: absolute;
    width: 25px;
    height: 26px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -13px;
}

.p-sm {
    padding: 10px;
}

.list-template {
    li {
        float: left;
        margin: 0 0 20px 20px;
        width: 170px;
        height: 383px;
        text-align: center;
        background: url("../../images/mobile/radio_iphone0.png") no-repeat center top;
        position: relative;
        cursor: pointer;

        .radio {
            cursor: pointer;
            position: absolute;
            top: 355px;
            left: 50px;
        }
        .title{
            width: 100%;
            cursor: pointer;
            position: absolute;
            top: 355px;
            left: 0;  
        }
        .z-index-1{
            position: absolute;
            z-index: -1;
        }
        .tips {
            position: absolute;
            top: 60px;
            right: -130px;
            display: none;
            width: 130px;
            padding: 6px;
            background-color: #000;
            color: #FFF;
            border-radius: 7px;
            text-align: left;
            border: 1px solid rgba(0,0,0,0.15);
            -moz-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
            -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
            box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
            z-index: 999;
        }

        img {
            position: absolute;
            top: 68px;
            left: 14px;
            width: 144px;
            height: 225px;
        }
        .phone-template-prev{
            position: absolute;
            top: 68px;
            left: 14px;
            width: 144px;
            height: 225px;
            overflow:hidden;
            overflow-y:auto;
            background:#fff;
            img{
                position: static;
                width: 139px;
                height:auto;
            }
        }
    }

        li:hover {
            .tips {
                display: block;
            }
        }
}

    .list-template li.selected, .list-template li:hover {
        background: url(../../images/mobile/radio_iphone.png) no-repeat center top;
    }

.radio-style {
    width: 45%;
    height: auto;
    margin-bottom: 10px;
    vertical-align: text-top;

    img {
        width: 100%;
        height: auto;
        position: static;
        margin-left: -20px;
        margin-top: 5px;
    }
}

.radio-style-sm {
    height: 80px;
    position: relative;
    width: 70px;

    img {
        width: 72px;
        margin-top: 3px;
        position: absolute;
        top: 25px;
        left: 0px;
    }
}

.radio-style-nav {
    width: 135px;
    height: 50px;
    position: relative;

    img {
        width: 135px;
        height: auto;
        margin-top: 3px;
        position: absolute;
        top: 25px;
        left: 0;
    }
}
.line-name-show{
    width:135px;
    overflow:hidden;
    height:20px;
    padding-left:5px;
    white-space:nowrap; 
    text-overflow:ellipsis; 
}
.dd-nohandle{
    display: block;
    margin: 5px 0;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #ebebeb;
    background: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.i-cont {
    color: #FFF;
    position: relative;
    width:77px;
    padding: 5px;
}

.i-cont .sel-icon {
    color: #FFF;
}

.i-cont i {
    font-size:20px;
}
.i-modal-cont{
    color: #FFF;
}

.i-modal-cont i {
    font-size: 30px;
}
.icons-cont {
   
    
}
.icons-cont .nav{
      margin-bottom:5px;
}

.icon_list {
    list-style: none;
    margin: 0;
    padding: 0; 
    overflow-y:scroll;
    height:100%;
    max-height:301px;
}

.icon_list li {
    float: left; 
    height: 35px;
    padding: 3px;
    border: 1px solid #FFF;
    cursor: pointer;
    width: 35px;
}

.icon_list li i {
    font-size: 30px;
}
.icon_list li i.wmfont {
    margin-top:7px;
    display: inline-block;
}

.icon_list li:hover {
    border: 1px solid #5b98a5;
}
.tile-themed {
    background: #368ee0;
}
.design-tips{
    background: url(../../images/design/tips.png) no-repeat;
    width:223px;
    height:97px;
    position: absolute;
    top:0;
    right:0;
}
.design-tips1{
    background: url(../../images/design/tips1.png) no-repeat;
}
.design-tips2{
    background: url(../../images/design/tips2.png) no-repeat;
}
.design-tips .tips-step{
    font-size:24px;
    font-weight: bold;
    padding-left: 10px;
    line-height: 63px;
    color:#fff;
}
.design-tips .tips-content{
    width:171px;
    color:#fff;
    position: absolute;
    right:15px;
    top:15px;
}
.design-tips2 .tips-content{
    top:45px;
}
.design-tips2 .tips-step{
    margin-top:30px;
}
.preview-activity{
    width:323px;
    margin:0 auto;
    height:442px;
    border:1px solid #ccc;
    .preview-activity-header{
        height:50px;
        width: 100%;
        background: url(../../images/element/header.png) no-repeat;
        overflow: hidden;
    }
    .preview-activity-title{
        color:#fff;
        font-size:16px;
        height:25px;
        text-align: center;
        margin-top: 21px;
    }
    .preview-activity-content{
        height:390px;
        overflow:hidden;
        overflow-y: auto;
        img{
            width: 100%;
        }
    }
}